package com.coincalf.feign.hystrix;

import com.coincalf.dto.RandCodeVerifyDTO;
import com.coincalf.feign.RandCodeServiceClient;
import javafx.scene.control.RadioMenuItem;
import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author qiang
 */
@Component
public class RandCodeServiceClientFallback implements RandCodeServiceClient {

    /**
     * 手机号验证或者邮箱验证
     *
     * @param request
     * @return
     */
    @RequestMapping(value = "/api/v1/dm/verify", method = RequestMethod.POST)
    @Override
    public boolean verify(RandCodeVerifyDTO request) {
        return false;
    }

}
